/*
 * 
 */

package podologia.util;

import podologia.*;
import podologia.util.jasperReport;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Hernan
 */
public class Rep {

    public  Rep(String dire){
        try {
            // Third, get a database connection
            Class.forName("com.mysql.jdbc.Driver");
            Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/podonew", "root", "vertrigo");
            jasperReport js = new jasperReport(dire, conn);
        } catch (ClassNotFoundException ex) {
            Logger.getLogger(PodologiaView.class.getName()).log(Level.SEVERE, null, ex);
        } catch (SQLException ex) {
            Logger.getLogger(PodologiaView.class.getName()).log(Level.SEVERE, null, ex);
        }


}
}
